add_subdirectory(crypto)
add_subdirectory(hyper)
add_subdirectory(commonCryptoLowerPass)
add_subdirectory(cryptoToGpu)
# add_subdirectory(cryptoToSST)
add_subdirectory(cryptoToX86WithoutSHA1ISA)
add_subdirectory(sst)
add_subdirectory(SSTToLLVM)
add_subdirectory(ExecutionEngine)
add_subdirectory(cryptoToHyper)
add_subdirectory(hyperToDevice)
add_subdirectory(SchedulingOnDevices)
add_subdirectory(CGRAAPI)
add_subdirectory(cryptoToCGRA)
add_subdirectory(FPGAAPI)
add_subdirectory(cryptoToFPGA)

add_mlir_library(static_mlir_async_runtime
  STATIC
  ${MLIR_MAIN_SRC_DIR}/lib/ExecutionEngine/AsyncRuntime.cpp

  EXCLUDE_FROM_LIBMLIR

  LINK_LIBS PUBLIC
  ${LLVM_PTHREAD_LIB}
)

target_compile_definitions(static_mlir_async_runtime
  PRIVATE
  MLIR_ASYNCRUNTIME_DEFINE_FUNCTIONS
)
